package com.jjh.mapper;

import com.jjh.pojo.FlavourTag;
import com.jjh.pojo.vo.FlavourTagStrVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FlavourTagMapper {


    List<FlavourTagStrVo> getAll();

    int addFlavourTag(FlavourTag flavourTag);


    int addBatch(List<FlavourTagStrVo> flavourTags, Integer id);

    List<FlavourTagStrVo> getListByDishId(Integer id);

    int updateById(FlavourTagStrVo flavourTagStrVo);

    void deleteByDishId(Integer id);
}
